﻿namespace HamcoWcs.Models.DeviceMsgs.BconMsgs.BconRecvTel
{
    public class BconTel_AR : BconBaseTel
    {
        public string Device_ID { get; set; }
        public string Destination01_WCS { get; set; }
        public string Destination02_WCS { get; set; }
        public string Parcel_ID { get; set; }
        public string Parcel_TaskID { get; set; }
        public string Barcode { get; set; }
        public BconTel_AR(string data) : base(data)
        {
            Device_ID = data.Substring(5, 4);
            Destination01_WCS = data.Substring(9, 4);
            Destination02_WCS = data.Substring(13, 4);
            Parcel_ID = data.Substring(17, 3);
            Parcel_TaskID = data.Substring(20, 15);
            Barcode = data.Substring(35, 40);
            Tel_End = data.Substring(75, 2);
        }
    }
}
